package cn.itcast.nems.studentrecord.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName(value = "e2_journal_transfer_line")
public class JournalTransferLine {
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    private String journalTransferId;
    private String originStudentRecordId;
    private Integer originClazzId;
    private String originClazzName;
    private LocalDate originClazzInDate;
    private LocalDate originClazzOutDate;
    private Integer originClazzOriginalAmount;
    private Integer originClazzDiscountAmount;
    private Integer originClazzAmountDue;
    private Integer originActualAmountDue;
    private Integer originClazzSettlementAmount;
    private Integer originClazzActualSettlementAmount;
    private Integer originClazzServiceDays;
    private Integer originClazzSettlementDays;
    private Integer originClazzActualSettlementDays;
    private LocalDate targetClazzInDate;
    private Integer targetClazzOriginalAmount;
    private Integer targetClazzDiscountAmount;
    private Integer targetClazzAmountDue;
    private Integer targetClazzActualAmountDue;
    private Integer targetClazzTransferAmount;
    private Boolean priceDifferenceFlag;
    private Integer priceDifferenceAmount;
    private String state;
    private String reasonCode;
    private String reasonDescription;
    private String studentRecordId;
    private Integer tenantId;
    private Integer subtenantId;
    private String createdBy;
    private LocalDateTime createdDatetime;
    private String modifiedBy;
    private LocalDateTime modifiedDatetime;
    private String deletedBy;
    private LocalDateTime deletedDatetime;
    private Boolean deletedFlag;

    private Integer multiPaymentAccountFlag;
    private String originPaymentAccountCode;
    private String originPaymentAccountName;
}
